<?php
    interface DBInterface{
    	
		//password deve essere già criptata
    	public function connect($login,$passw);
		public function getAuthenticationToken($username,$passw);
		public function getRecord($tableName,$id);
		public function getTable($tableName);
		public function saveRecord($tableName,$fieldsArray);
		public function updateRecord($tableName,$recordId,$fieldsArray);
		public function deleteRecord($tableName,$id);
		public function saveMultipleRecords($fieldsArray);
		public function updateMultipleRecords($fieldsArray);
		public function deleteMultipleRecords($fieldsArray);
		public function getChangesTable();
		public function getEntireDB();
    }
?>